﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YunQue.Core.DB.ShardingCore
{
    /// <summary>
    /// Sharding数据库源信息
    /// </summary>
    public class ShardingDbSource
    {
        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        public string ConnectionString { get; set; }
        /// <summary>
        /// 分组名称
        /// </summary>
        public string GroupName { get; set; }
        /// <summary>
        /// 是否主库
        /// </summary>
        public bool IsMaster { get; set; }
        /// <summary>
        /// 是否默认库
        /// </summary>
        public bool IsDefault { get; set; }
    }
}
